import { createApp } from 'vue'
import './styles/tailwindcss.css'
import './app.scss'
import { createPinia } from 'pinia'
import router from './router/index.js'
import persist from 'pinia-plugin-persistedstate'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/reset.css'
const pinia = createPinia()
pinia.use(persist) // 启用持久化插件

const App = createApp({
  onShow(options) {},
  // 入口组件不需要实现 render 方法，即使实现了也会被 taro 所覆盖
})
App.use(pinia)
App.use(Antd)
App.use(router)
export default App
